import service from "../checkApi/request";

export function clock_list(payload = {}){
    return service.get('/clock',{ params:payload })
}
// 删除
export function clock_del(payload = {}){
    return service.delete(`/clock/${payload}`)
}

// 搜索
export function clock_search(payload = {}){
    return service.get(`/clock?addressname_like=${payload}`)
}
// 修改
export function clock_update(payload = {}){
    return service.patch(`/clock/${payload.id}`,payload)
}